import { View } from "@tarojs/components";
import { CSSProperties } from "react";
import "../slider/slider.less";

export default function Slider(props: {
  style?: CSSProperties;
  direction?: "horizontal" | "vertical";
}) {
  const { style, direction = "vertical" } = props;

  return <View className={`slider ${direction}`} style={{ ...style }}></View>;
}
